package com.ruoyi.project.datamanagement.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 查询管理对象 sys_data_search
 *
 * @author anan
 * @date 2021-03-31
 */
@Data
@TableName(value = "sys_data_search")
public class SysDataSearch extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId
    private Long dataSearchId;

    /** 数据源ID */
    @Excel(name = "数据源ID")
    private Long dataSourceId;

    /** 名称 */
    @Excel(name = "名称")
    private String searchName;

    /** 名称(拼音) */
    @Excel(name = "名称(拼音)")
    private String searchNameEn;

    /** sql */
    @Excel(name = "sql")
    private String sql;

    /** admin_sql */
    @Excel(name = "admin_sql")
    private String adminSql;

    /** 查询树ID */
    @Excel(name = "查询树ID")
    @TableField(exist = false)
    private Long searchTreeId;

    @TableField(exist = false)
    private DataSources dataSources;

}